<html>
<head>
<title>w2m service</title>
<style type="text/css">
.error {
    color:red;
}
.msg {
    color:green;
}
</style>
</head>
<body>

    <p><b>Web2Mail</b></p>

    <?php if (!empty($error)) { ?>
        <div class="error">{$error}</div>
    <? } ?>

    <?php if (!empty($msg)) { ?>
        <p class="msg">{$msg}</p>
    <? } ?>

    <form action="" method="post">
        <p>url (started with http://)<input name="url" value="{$url}"></p>
        <p>mailto<input name="email" value="{$email}"></p>
        <p>password <input name="pass" type="password" value="{$pass}"></p>

        <p><input type="submit" value="Send"></p>
    </form>
</body>
</html>